<%--
  Created by IntelliJ IDEA.
  User: Media
  Date: 2022/9/16
  Time: 11:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    int number = 0+(int)(Math.random()*100);
    if(number>=60){
        out.println("你的成绩为及格");
%>
<jsp:forward page="02-1.jsp">
    <jsp:param name="n" value="<%=number%>"/>
</jsp:forward>
}
else{
        out.println("你的成绩为不及格");
%>
<jsp:forward page="02-2.jsp">
    <jsp:param name="n" value="<%=number%>"/>
</jsp:forward>
}
</body>
</html>
